import React from 'react';
import { Button, Result } from 'antd';
const App: React.FC = () => {
    const link = () => {
        window.location.reload();
    };
    return (
        <Result
            status="warning"
            title="There are some problems with your operation."
            extra={
                <Button type="primary" onClick={link}>
                    前端代码崩溃
                </Button>
            }
        />
    );
};

export default App;
